/* 自定义样式 */
.dashboard_container {
    height: 100%;
    background: #f0f2f5;
    /* padding: 24px; */
    overflow-y: auto;
    box-sizing: border-box;
    
}

/* 响应式容器 */
@media (max-width: 768px) {
    .dashboard_container {
        padding: 16px;
    }
}

/* 统计卡片样式 */
.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    background: linear-gradient(145deg, #ffffff, #ffffff);
}

.stat-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* 图表卡片样式 */
.chart-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.chart-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* 加载状态样式 */
.loading-container {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

/* 标题区域样式 */
.header-section {
    margin-bottom: 24px;
}

@media (max-width: 576px) {
    .header-section {
        margin-bottom: 16px;
    }
}

/* 响应式图表容器 */
.chart-container {
    width: 100%;
    height: 100%;
    min-height: 280px;
}

/* 移动设备上的图表适配 */
@media (max-width: 576px) {
    .chart-container {
        min-height: 240px;
    }
}

/* 数据统计卡片内容样式 */
.stat-content {
    padding: 16px;
}

/* 图表卡片标题样式 */
.chart-title {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 平滑滚动效果 */
.dashboard_container {
    scroll-behavior: smooth;
}

/* 确保图表动画流畅 */
.ant-card-body {

    overflow: hidden;
}

/* 时间筛选器响应式 */
@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        gap: 12px;
    }

    .filter-section>* {
        width: 100% !important;
    }
}